module.exports = main;
function main(length,stoptime) {
   let price;
   if(length<=2){
       price = 6;
   }else if(length>2&&length<=8){
       price = Math.round(0.8*length+4.8);
   }else{
       price = Math.round(1.2*length+1.2);
   }
   if(stoptime!=0){
       price += Math.round(0.25*stoptime);
   }
   console.log(price);
   return price;
};